#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include "SqQueue.hpp"
using namespace std;

int main()
{
	SqQueue<int> que;
	cout <<"empty="<< que.empty() << endl;
	cout << "size=" << que.size() << endl;
	que.pushBack(100);
	cout << "empty=" << que.empty() << endl;
	cout << "size=" << que.size() << endl;
	cout << "front=" << que.front() << endl;
	cout << "back=" << que.back() << endl;
	cout<<"------------------------" << endl;
	for (int i = 1; i < 20; i++)
	{
		que.pushBack(i);
		cout <<i<< ".-----------------------" << endl;
		cout << "empty=" << que.empty() << endl;
		cout << "size=" << que.size() << endl;
		cout << "front=" << que.front() << endl;
		cout << "back=" << que.back() << endl;
		cout << "------------------------" << endl;
	}
	return 0;
}